StoreKeeper\WooCommerce\B2C\Models\TaskModel S

Total Complexity 36
Dependencies 5
Dependents 20
Total lines 357
Lines of code 245
Logical lines of code 109
Comment lines 0
Methods 23
Properties 0

Methods 23

Method Rating Maintainability Complexity Lines of code
getLatestSuccessfulSynchronizedDateForType()
S
54 3 21
getFailedOrderIds()
S
52 2 27
getTasksByStoreKeeperId()
S
55 2 20
update()
S
69 3 6
getLastProcessTaskDate()
S
59 2 14
getFieldsWithRequired()
S
57 1 18
getLastThousandSuccessfulTaskIds()
S
58 1 17
countTasksByProcessedDateTimeRange()
S
65 2 8
countTasksByCreatedDateTimeRange()
S
65 2 8
purge()
S
66 2 9
read()
S
67 2 8
getMetaDataKey()
S
66 2 8
getName()
S
69 2 7
newTask()
S
60 1 14
purgeOrderThanXDays()
S
59 1 14
purgeAllKeepLast1000()
S
61 1 12
countTasks()
S
77 1 3
countFailedTasks()
S
77 1 3
countSuccessfulTasks()
S
77 1 3
prepareProcessedDateTimeRangeSelect()
S
69 1 7
prepareCreatedDateTimeRangeSelect()
S
69 1 7
getExecutionDurationSumByProcessedDateTimeRange()
S
67 1 7
create()
S
74 1 4